package greentycoon.batiment.centrale;

import greentycoon.ville.Environement;
import greentycoon.ville.Pollution;

public class CentralePhotovoltaique extends Centrale {

	public static final int sizeX =2;
	public static final int sizeY =2;
	public static final int prix =500;
	
	public CentralePhotovoltaique(int x, int y)
	{

		puissance = 5*Environement.getEnsoleillement();
		pollution = new Pollution();
		posX = x;
		posY = y;
	}
	
	public int computePuissance()
	{
		puissance = 5*Environement.getEnsoleillement();
		return puissance;
	}
	
	public  int getSizeX() {
		
		return sizeX;
	}

	public  int getSizeY() {
		return sizeY;
	}
}
